<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <meta charset="utf-8">
    <title>qiu 权限系统</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" th:href="${@mvcResourceUrlProvider.getForLookupPath('/layui/css/layui.css')}" media="all">
    <link rel="stylesheet" th:href="${@mvcResourceUrlProvider.getForLookupPath('/qiu/css/qiu.css')}" media="all">
    <link rel="stylesheet" th:href="${@mvcResourceUrlProvider.getForLookupPath('/qiu/css/eleTree.css')}" media="all">
    <link rel="stylesheet" th:href="${@mvcResourceUrlProvider.getForLookupPath('/qiu/css/apexcharts.min.css')}" media="all">

    <link rel="icon" th:href="${@mvcResourceUrlProvider.getForLookupPath('/qiu/images/favicon.ico')}" type="image/x-icon"/>
</head>
<body>
<div id="qiu"></div>
<script th:src="${@mvcResourceUrlProvider.getForLookupPath('/layui/layui.js')}"></script>
<script th:inline="javascript">
    let ctx = "/";
    let currentUser = [[${user}]];
        currentUser.roleSet = [[${roles}]],
        currentUser.permissionSet = [[${permissions}]];

    //let currentUser = {"userId":1,"username":"admin","password":"It's a secret","deptId":1,"email":"mrbird@qq.com","mobile":"17788888888","status":"1","createTime":"2019-06-14T20:39:22.000+08:00","modifyTime":"2019-12-04T16:47:11.000+08:00","lastLoginTime":"2021\u5E7408\u670801\u65E5 15\u65F601\u520631\u79D2","sex":"0","avatar":"cnrhVkzwxjPwAaCfPbdc.png","theme":"black","isTab":"1","description":"\u6211\u662F\u5E05\u6BD4\u4F5C\u8005\u3002","deptName":"\u5F00\u53D1\u90E8","createTimeFrom":null,"createTimeTo":null,"roleId":"1","roleName":"\u7CFB\u7EDF\u7BA1\u7406\u5458","deptIds":null,"stringPermissions":["generator:view","dept:add","job:export","role:add","job:log:export","role:export","menu:update","qiu:icons:view","dept:export","others:datapermission","job:pause","menu:view","generator:generate","jvm:view","eximport:template","others:eximport:view","menu:delete","dept:view","eximport:import","apex:line:view","map:view","httptrace:view","qiu:formgroup:view","user:update","loginlog:delete","generator:configure:view","others:qiu:others","job:resume","qiu:form:view","log:export","job:log:delete","server:view","user:view","qiu:tools:view","role:update","apex:radar:view","online:view","swagger:view","job:delete","menu:export","loginlog:view","apex:column:view","role:view","job:update","user:export","dept:delete","apex:mix:view","role:delete","job:add","apex:area:view","user:add","user:delete","apex:bar:view","log:view","user:kickout","job:log:view","dept:update","menu:add","log:delete","job:view","job:run","loginlog:export","eximport:export","generator:configure:update","user:password:reset"],"roles":["\u7CFB\u7EDF\u7BA1\u7406\u5458"],"id":"mrbird"};
    //currentUser.roleSet = ["\u7CFB\u7EDF\u7BA1\u7406\u5458"];
    //currentUser.permissionSet = ["generator:view","dept:add","job:export","role:add","job:log:export","role:export","menu:update","qiu:icons:view","dept:export","others:datapermission","job:pause","menu:view","generator:generate","jvm:view","eximport:template","others:eximport:view","menu:delete","dept:view","eximport:import","apex:line:view","map:view","httptrace:view","qiu:formgroup:view","user:update","loginlog:delete","generator:configure:view","others:qiu:others","job:resume","qiu:form:view","log:export","job:log:delete","server:view","user:view","qiu:tools:view","role:update","apex:radar:view","online:view","swagger:view","job:delete","menu:export","loginlog:view","apex:column:view","role:view","job:update","user:export","dept:delete","apex:mix:view","role:delete","job:add","apex:area:view","user:add","user:delete","apex:bar:view","log:view","user:kickout","job:log:view","dept:update","menu:add","log:delete","job:view","job:run","loginlog:export","eximport:export","generator:configure:update","user:password:reset"];


    layui.config({
        base: './qiu/',
        debug: true
    }).extend({
        xmSelect: 'lay/extends/xm-select',
        apexcharts: 'lay/extends/apexcharts.min',
        eleTree: 'lay/extends/eleTree'
    }).use(['index']);
</script>
</body>
</html>